//
//  price_label.m
//  VivaModa
//
//  Created by Owly MacBook on 10.02.13.
//  Copyright (c) 2013 private_busines. All rights reserved.
//

#import "price_label.h"

@implementation price_label

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self configurateMyLabel];
        // Initialization code
    }
    return self;
}



- (id)initWithCoder:(NSCoder *)aDecoder{
    self = [super initWithCoder:aDecoder];
    if (self) {
        [self configurateMyLabel];
    }
    return self;
}




/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/



-(void)configurateMyLabel{
   // UIImage *bkImg = [UIImage imageNamed:@"price_bg"];//[[UIImage imageNamed:@"price_bg"] resizableImageWithCapInsets:UIEdgeInsetsMake(10, 10, 10, 10)];
    
    
    
    ///[self setBackgroundImage:bkImg forState:UIControlStateNormal];

    
    //[self setBackgroundImage:bkImg forState:UIControlSt];
    
    
    //[self setBackground:bkImg];
    //[self setImage:[UIImage imageNamed:@"arrow_left.png"] forState:UIControlStateHighlighted];
    
    //[self insertSubview:imageView atIndex:0];
    
    //[self addSubview:imageView];
    
    //self.backgroundColor = [UIColor colorWithPatternImage:bkImg];
}

@end
